@import "../../component/weui/weui.wxss";
.questions-box {
  padding: 120rpx 0;
  &.no-pt {
    padding-top: 0;
  }
  .top-btn {
    z-index: 50;
  }
  .start-learn {
    font-size: 32rpx;
    height: 80rpx;
    line-height: 80rpx;
    width: 670rpx;
    margin: 20rpx auto;
    padding: 0;
    background: #14CC76;
    border-radius: 48rpx;
    color: #fff;
  }

  .coach-tip {
    justify-content: space-between;
    padding: 0 40rpx;
    color: #fff;
    .icon-clock {
      margin-right: 10rpx;
    }
  }

  .section {
    background: #f7f7f7;
    line-height: 80rpx;
    padding: 0 10rpx;
    .title {
      word-break: break-all;
    }
  }

  .question-info {
    padding: 40rpx;
    border-bottom: 2rpx solid #EFEFEF;

    .stem {
      color: #4A4A4A;
      font-size: 32rpx;
      align-content: flex-start;
    }

    .option-box {
      margin-top: 20rpx;
    }

    .van-radio {
      margin: 20rpx 0 !important;
    }
    .xh-radio-root {
      padding: 10rpx 20rpx;
      border-radius: 8rpx;
      &.checked {
        background: rgba(39, 142, 255, .05);
        .xh-radio {
          color: #278EFF;
        }
      }
      .xh-radio-icon {
        color: #fff;
        &.single {
          &:before {
            display: none;
          }
        }
      }

      &.single-radio {
        &.checked {
          .van-radio__icon-wrap {
            .van-radio__icon {
              position: relative;
              &:before {
                position: absolute;
                content: '';
                top: 50%;
                left: 50%;
                margin-left: -10rpx;
                margin-top: -10rpx;
                display: inline-block;
                width: 20rpx;
                height: 20rpx;
                background: #fff;
                border-radius: 100%;
              }
            }
            .xh-radio-icon {
              &:before {
                content: '';
                display: none;
              }
            }
          }
        }
      }
    }
    .xh-radio {
      color: #4A4A4A;
      width: 550rpx;
      font-size: 32rpx !important;
    }

    .answer-analyze {
      margin-top: 20rpx;
      background: #F9F9F9;
      font-size: 28rpx;
      color: #4A4A4A;
      padding: 20rpx 30rpx;
      .label {
        color: #757575;

      }

      .answer {
        .label {
          margin-right: 30rpx;
          display: inline-block;
        }
      }

      .analyze {
        .label {
          width: 183rpx;
        }

        justify-content: flex-start;
      }
    }

    .catalog-expand {
      font-size: 28rpx;
      color: #14CC76;
      text-align: right;
      margin-top: 20rpx;
      .icon-arrow-up {
        margin-left: -10rpx;
        display: inline-block;
        font-size: 20rpx;
        transform: scale(.6);
        font-weight: bold;
      }
      .icon-arrow-down {
        margin-left: -10rpx;
        display: inline-block;
        font-size: 20rpx;
        transform: rotate(180deg) scale(.6);
        font-weight: bold;
      }
    }

    &.done {
      .xh-radio-root {
        &.checked {
          background: rgba(20, 204, 118, .05);
          .xh-radio {
            color: #14CC76;
          }
          &.wrong {
            background: rgba(255,45,85, .05);
            .xh-radio {
              color: #FF2D55;
            }
          }
        }
      }
    }
  }

  .answer-area {
    background: #F9F9F9;
    height: 80rpx;
    line-height: 80rpx;
    padding: 0 40rpx;
    font-size: 32rpx;
    color: #4A4A4A;
    font-weight: bold;
  }

  .uploader-box {
    padding: 48rpx 40rpx;
    .upload-tip-txt {
      color: #757575;
      position: absolute;
      bottom: 6rpx;
      font-size: 28rpx;
      display: inline-block;
      width: 100%;
      text-align: center;
    }
    .weui-uploader__input-box:after, .weui-uploader__input-box:before {
      top: 40%;
    }
    &.margin-bottom-ipx {
      margin-bottom: 68rpx;
    }
  }

  .submit {
    font-size: 32rpx;
    height: 80rpx;
    line-height: 80rpx;
    width: 670rpx;
    margin: 20rpx auto;
    padding: 0;
    background: #14CC76;
    border-radius: 48rpx;
    color: #fff;
  }
}


//自批主观题
.top-tip {
  color: #FF3B30;
  //background: #F7F7F7;
  height: 80rpx;
  line-height: 80rpx;
  .tip {
    margin-left: 40rpx;
    font-size: 28rpx;
    font-weight: bold;
  }
}

.check-self {
  .judge {
    margin-top: 10rpx;
    .xh-btn {
      height: 64rpx;
      line-height: 64rpx;
      border-radius: 32rpx;
      border: 2rpx solid #CCCCCC;
      display: inline-block;
      padding: 0 48rpx;
      margin-right: 20rpx;
      font-size: 32rpx;
      color: #4A4A4A;
      &.active {
        color: #fff;
      }
      &.right {
        &.active {
          background: #14CC76;
          border-color: #14CC76;
        }
      }
      &.wrong {
        &.active {
          background: #FF2D55;
          border-color: #FF2D55;
        }
      }
    }
  }
  .bottom-btn {
    .btn {
      width: 670rpx;
      font-size: 32rpx;
      height: 80rpx;
      line-height: 80rpx;
      margin: 20rpx auto;
      border-radius: 48rpx;
      padding: 0;
      //&.jump {
      //  height: 76rpx;
      //  line-height: 76rpx;
      //  border: 2rpx solid #CCCCCC;
      //}
    }
  }
  &.margin-bottom-ipx {
    margin-bottom: 60rpx;
  }
}